package MVCEX1BT2;

public class Controllers {
	private Models obj_Models;
	public Controllers(){
		obj_Models= new Models();
	}
	
	public void Implement(Entity obj){
		switch (obj.getWay()){
		case 0: obj_Models.tinhtoan0(obj);break;
		case 1: obj_Models.tinhtoan1(obj);break;
		case 2: obj_Models.tinhtoan2(obj);break;
		case 3: obj_Models.tinhtoan3(obj);break;
		}
	}
}
